package com.yunxi.model.company;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 公司信息
 * </p>
 *
 * @author 
 * @since 2019-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_company")
@ApiModel(value="Company对象", description="公司信息")
public class Company implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "COMPANY_ID", type = IdType.UUID)
    private String companyId;

    @TableField("COMPANY_CODE")
    private String companyCode;

    @TableField("COMPANY_NAME")
    private String companyName;

    @ApiModelProperty(value = "0销售公司")
    @TableField("COMPANY_TYPE")
    private Integer companyType;


}
